#!/bin/sh
clear
echo " Install StatdX scanner? y/n "
read answer
if [ "$answer" = y ]
    then 
    echo ""
    clear
else
    echo " Not installing script..."
    exit
fi
echo " Inflating Directory...."
tar -zxvf .utils.tar.gz
echo "                          [done]"
echo ""
echo " Compiling src's to scanner...."
echo ""
echo " pscan.c by Volatile...."
gcc src/pscan.c -o pscan
echo "                          [done]"
echo ""
echo " ben.c by some lamer...."
gcc src/ben.c -o .ben
echo "                          [done]"
sleep 2
echo " Cleaning up..."
rm -rf .utils.tar.gz
rm -rf install
rm -rf INSTALL
echo "                          [done]"
echo ""
echo "  Script Installed. "
